<?php
session_start();

//$title is the page title
$title = "Login";
require('includes/header.php');


?>
</head>
<body>

    <div id="doc3" class="yui-t7">
        <div id="hd"><h1>Welcome to csweb</h1></div>
        <div id="bd">
            <div class="yui-g">
                <div class="logindiv" align="center">
                    <div class="loginerror"><?php echo $error; ?></div>
                    <h3>Please Log in</h3>
                    <form id="loginform" action="loginscript.php" method="POST">
                        <div class="inputrow">
                            <label for="Username">User name: </label><input type="text" name="Username" value="" />
                        </div>
                        <div class="inputrow">
                            <label for="Password">Password: </label><input type="password" name="Password" value="" />
                        </div>
                        <input type="submit" value="Login" id="login" name="login" />
                    </form>
                    <a href="registration.php">New User Registration</a>
                </div>
            </div>

        </div>
        <div id="ft"><p>csweb Site Copyright &copy; 2009</p></div>
    </div>

</body>
</html>
